package com.security.door.service;

import com.github.pagehelper.PageInfo;
import com.security.door.core.support.IService;
import com.security.door.model.domain.crArea;
import com.security.door.model.domain.crAreaDevice;
import com.security.door.model.dto.crAreaDeviceDto;
import com.security.door.model.vo.crAreaDeviceVo;

public interface IcrAreaDeviceService extends IService<crAreaDevice> {

    PageInfo<crAreaDeviceVo> queryListWithPage(crAreaDeviceDto entity);

    boolean hasdeviceGrant(String devicecode);

    PageInfo<crArea> selectByCode(crAreaDeviceDto entity);

    boolean hasExists(crAreaDevice entity);

}
